package com.zyh.service;

import com.zyh.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
public interface UserService {
    void insert(User user);
    void delete(int id);
    void update(User user);
    User selectById(int id);
    List<User> selectAll();
    User selectByNameAndPassword(String name,String password);
}
